SpeedyCache\Cache D

Total Complexity 424
Dependencies 8
Dependents 3
Total lines 1,390
Lines of code 989
Logical lines of code 630
Comment lines 99
Methods 30
Properties 0

Methods 30

Method Rating Maintainability Complexity Lines of code
callback()
D
16
85 187
allowed()
D
30 57 85
create_dir()
D
32 42 85
set_file_path()
C
39 30 50
is_cacheable()
C
36 24 76
exclude_page()
B
41 24 50
create()
B
43 17 44
can_create()
A
50 15 27
ignored()
A
44 11 42
is_amp()
A
51 11 26
init()
A
47 10 32
detect_current_page_type()
A
52 10 26
is_wptouch_smartphone()
A
51 10 24
cdn_rewrite()
A
48 8 33
cache_date()
S
60 7 11
remove_url_params()
S
54 6 20
fix_pre_tag()
S
54 6 20
set_content_type()
S
55 6 19
set_cdn()
S
52 5 25
is_admin()
S
54 5 20
last_error()
S
63 5 11
check_html()
S
63 5 10
is_wp_login()
S
65 5 8
dns_prefetch_hint()
S
62 4 12
is_password_protected()
S
63 4 11
disable_emojis()
S
60 3 12
is_commenter()
S
74 3 4
create_name()
S
63 3 9
set_exclude_rules()
S
68 2 7
print_scripts_action()
S
82 1 3